﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Myapp.Models
{
    [Table("LogInOut")]
    public class LogInOutModels
    {
        [Key]
        public int LogInOutid { set; get; }
        
        [MaxLength(10)]
        public string LogInOutUserId { set; get; }
        
        [Timestamp]
        public DateTime LogInOutDate { set; get; }

        public DateTime LogInOutEntryDate { set; get; }
       
        public DateTime LogInOutEntryTime { set; get; }
        
        public DateTime LogInOutExitDate { set; get; }
  
        public DateTime LogInOutExitTime { set; get; }

        [MaxLength(1000)]
        public string LogInOutComment { set; get; }
    }
}
